/**
 * Project Name:fire-industry-DM-center
 * File Name:DmMapStock.java
 * Package Name:com.firestone.bean.entity.elasticsearch.dm
 * Date:2018年4月17日下午7:42:05
 *
*/

package com.firestone.bean.entity.elasticsearch.dm;

import java.io.Serializable;
import java.util.List;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.DateFormat;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;
import org.springframework.data.elasticsearch.annotations.Setting;

import com.firestone.bean.entity.elasticsearch.nested.WeightJson;

/**
 * @Description: TODO(股票信息表)
 * @author lvxc
 * @date 2018年4月17日 下午7:42:05
 */
@Document(indexName = "dm_map_stock", type = "index", createIndex = false)
@Setting(settingPath = "/setting/setting.json")
public class DmMapStock implements Serializable{

    private static final long serialVersionUID = 1L;
    
    @Id
    private String id;

    /**
     * @Fields SYS_add_time : TODO(添加时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_add_time;

    /**
     * @Fields SYS_check_time : TODO(检验时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_check_time;

    /**
     * @Fields SYS_dm_update_time : TODO(更改时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_dm_update_time;
    
    /**
     * @Fields circulating_capital_stock : TODO(发行量)
     */
    @Field(type = FieldType.keyword)
    private String circulating_capital_stock;
    
    /**
     * @Fields company_code : TODO(公司代码)
     */
    @Field(type = FieldType.keyword)
    private String company_code;
    
    /**
     * @Fields company_name : TODO(公司全称)
     */
    @Field(type = FieldType.keyword)
    private String company_name;
    
    /**
     * @Fields company_shortname : TODO(公司简称)
     */
    @Field(type = FieldType.keyword)
    private String company_shortname;
    
    /**
     * @Fields delist_date : TODO(详细地址)
     */
    @Field(type = FieldType.keyword)
    private String delist_date;
    
    /**
     * @Fields list_date : TODO(上市日期)
     */
    @Field(type = FieldType.keyword)
    private String list_date;
    
    /**
     * @Fields market_code : TODO(交易市场代码)
     */
    @Field(type = FieldType.keyword)
    private String market_code;
    
    /**
     * @Fields project_id : TODO(详细地址)
     */
    @Field(type = FieldType.keyword)
    private String project_id;
    
    /**
     * @Fields spider_string : TODO(详细地址)
     */
    @Field(type = FieldType.keyword)
    private String spider_string;
    
    /**
     * @Fields state : TODO(详细地址)
     */
    @Field(type = FieldType.keyword)
    private String state;
    
    /**
     * @Fields stock_code : TODO(股票代码)
     */
    @Field(type = FieldType.keyword)
    private String stock_code;
    
    /**
     * @Fields stock_shortname : TODO(证券简称)
     */
    @Field(type = FieldType.keyword)
    private String stock_shortname;
    
    /**
     * @Fields stock_type : TODO(证券类型代码)
     */
    @Field(type = FieldType.keyword)
    private String stock_type;
    
    /**
     * @Fields timestamp :
     */
    @Field(type = FieldType.keyword)
    private String timestamp;
    
    /**
     * @Fields total_capital_stock : 
     */
    @Field(type = FieldType.keyword)
    private String total_capital_stock;
    
    /**
     * @Fields update_time : 
     */
    @Field(type = FieldType.keyword)
    private String update_time;
    
    /**
     * @Fields weight_json : TODO(字段来源)
     */
    @Field(type = FieldType.Nested)
    private List<WeightJson> weight_json;

}

